package com.yykj.hospital.client.form.banci;

import com.yykj.common.enums.BanCiType;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class BanCiEditForm {

    private Integer id;

    private Integer hospitalId;

    @ApiModelProperty("班次名称")
    private String name;

    @ApiModelProperty("班次Code")
    private String code;

    @ApiModelProperty("启用状态")
    private Boolean status;

    @ApiModelProperty("班次类型，online：在线问诊，appointment：预约挂号")
    private BanCiType type;

    @ApiModelProperty("开始时间")
    private String startTime;

    @ApiModelProperty("结束时间")
    private String endTime;

    @ApiModelProperty("是否分时段")
    private Boolean segment;

    @ApiModelProperty("分段时长,单位分钟")
    private Integer duration;

}
